package MP.ASTs;

import MP.CompilationException;

public class IfThenStmtAST extends OneStmtAST {
	public ExprAST		e;
	public OneStmtAST	s1;
	public IfThenStmtAST(ExprAST exp,OneStmtAST one){
		e=exp;
		s1=one;
		e.parent=s1.parent=this;		
	}
	public Object visit(Visitor v, Object o) throws CompilationException{
		return v.visitIfThenStmtAST(this,o);
	}	
}